{% comment %}
 Copyright © 2010 Benedikt Eger

 This file is part of top-news-buzz.

 top-news-buzz is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 top-news-buzz is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with top-news-buzz.  If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
{% include header_html_path %}
<div id="content">
	<div id="page">
		<div id="column1">
			<div class="box1">
				<h2><a href="{{ news.url }}" >{{ news.title }}</a></h2>
				<p>{{ news.content|truncatewords:200 }}</p>
				<p class="separator">&nbsp;</p>
				<p class="more" ><a href="{{ news.url }}" >Read the full article on {{ news.domain }}</a></p>
				<p>
					<!-- Include the Google Friend Connect javascript library. -->
					<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
					<!-- Define the div tag where the gadget will be inserted. -->
					<div id="div-7005652600614858891" style="width:580px;"></div>
					<!-- Render the gadget into a div. -->
					<script type="text/javascript">
					var skin = {};
					skin['BORDER_COLOR'] = 'transparent';
					skin['ENDCAP_BG_COLOR'] = '#ffffff';
					skin['ENDCAP_TEXT_COLOR'] = '#333333';
					skin['ENDCAP_LINK_COLOR'] = '#9CC54F';
					skin['ALTERNATE_BG_COLOR'] = '#ffffff';
					skin['CONTENT_BG_COLOR'] = '#ffffff';
					skin['CONTENT_LINK_COLOR'] = '#9CC54F';
					skin['CONTENT_TEXT_COLOR'] = '#333333';
					skin['CONTENT_SECONDARY_LINK_COLOR'] = '#9CC54F';
					skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
					skin['CONTENT_HEADLINE_COLOR'] = '#333333';
					skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
					skin['HEADER_TEXT'] = 'Comments';
					skin['POSTS_PER_PAGE'] = '5';
					google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
					google.friendconnect.container.renderWallGadget(
					 { id: 'div-7005652600614858891',
					   site: '17106056936697890724',
					   'view-params':{"disableMinMax":"true","scope":"PAGE","features":"video,comment","startMaximized":"true"}
					 },
					  skin);
					</script>
				</p>		
			</div>
		</div>
		<div id="column2">
			{% include sidebar_html_path %}
		</div>
	</div>
	<div style="clear: both;">&nbsp;</div>
</div>
{% include footer_html_path %}
